<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<link href="images/reset.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<link href="images/system.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" /> 
<link href="images/table_form.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<script src="{yun:}$config.sy_weburl{/yun}/js/jquery-1.8.0.min.js?v={yun:}$config.cachecode{/yun}"></script> 
<script src="js/admin_public.js?v={yun:}$config.cachecode{/yun}" language="javascript"></script> 
<link href="{yun:}$config.sy_weburl{/yun}/js/layui/css/layui.css?v={yun:}$config.cachecode{/yun}" rel="stylesheet" type="text/css" />
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/layui.js?v={yun:}$config.cachecode{/yun}"></script>
<script src="{yun:}$config.sy_weburl{/yun}/js/layui/phpyun_layer.js?v={yun:}$config.cachecode{/yun}"></script>
<title>后台管理</title>
</head>
<script>
$(document).ready(function(){
	$(".input-text").focus(function(){ 
		var msg_id=$(this).attr('id');
		var msg=$('#'+msg_id+' + font').html(); 
		if($.trim(msg)!=''){
			layer.tips(msg, this, {
			guide: 1, 
			style: ['background-color:#5EA7DC; color:#fff;top:-7px', '#5EA7DC'], 
			}); 
			$(".xubox_layer").addClass("xubox_tips_border");
		} 
	}).blur(function () {
		layer.closeAll('tips');
	});
});
</script>
<body class="body_ifm">
<div class="infoboxp"> 
<div class="admin_new_tip">
<a href="javascript:;" class="admin_new_tip_close"></a>
<a href="javascript:;" class="admin_new_tip_open" style="display:none;"></a>
<div class="admin_new_tit"><i class="admin_new_tit_icon"></i>操作提示</div>
<div class="admin_new_tip_list_cont">
<div class="admin_new_tip_list">支付宝的商户号和KEY参数管理员要注意设置，要完全正确才能正常使用！</div>
</div>
</div>
<div class="clear"></div>



	<div class="tag_box mt10">

<div id="right" style="display:block">
<iframe id="supportiframe"  name="supportiframe" onload="returnmessage('supportiframe');" style="display:none"></iframe>
	<form method="post" target="supportiframe" action="" name="config" class="layui-form">
    <input type="hidden" name="pytoken" value="{yun:}$pytoken{/yun}">
	<div id="paysync">
	<table id="alipay" width="100%" class="table_form">
     <tr>
              <td colspan="2" bgcolor="#f0f6fb"><div class="admin_bold">支付宝设置</div></td>
            </tr>
		<tr >
			<th width="200">合作身份者(PID):</th>
			<td><input class="input-text" type="text" name="sy_alipayid" id="sy_alipayid" value="{yun:}$alipaydata.sy_alipayid{/yun}" size="40" maxlength="255"/> <span class="admin_web_tip">如：208800200994****</span></td>
		</tr>
		<tr class="admin_table_trbg">
			<th width="200">安全检验码(MD5):</th>
			<td><input class="input-text" type="text" name="sy_alipaycode" id="sy_alipaycode" value="{yun:}$alipaydata.sy_alipaycode{/yun}" size="45" maxlength="255"/><span class="admin_web_tip">如：7zzqkb09qu7zoo9ehny7j4sdfj22qqcf</span></td>
		</tr>
		<tr >
			<th width="200">签约支付宝账号或卖家支付宝帐户:</th>
			<td><input class="input-text" type="text" name="sy_alipayemail" id="sy_alipayemail" value="{yun:}$alipaydata.sy_alipayemail{/yun}" size="40" maxlength="255"/></td>
		</tr>
        <tr class="admin_table_trbg">
			<th width="200">选择接口类型:</th>
			<td>
        <div class="layui-form-item">
          <div class="layui-input-inline">
            <select name="alipaytype" lay-filter="alipaytype">
                <option value="1"
                {yun:}if $config.alipaytype=="1"{/yun}
                 selected
                {yun:}/if{/yun}
                 >即时到账交易</option>

                <option value="2"
                {yun:}if $config.alipaytype=="2"{/yun}
                 selected
                {yun:}/if{/yun}
                 >担保交易</option>

                <option value="3"
                {yun:}if $config.alipaytype=="3"{/yun}
                 selected
                {yun:}/if{/yun}
                 >标准双接口</option>
            </select>
          </div>
          <span class="admin_web_tip">
            请选择您最后一次跟支付宝签订的协议里面说明的接口类型
         </span>
        </div>
      </td>
		</tr>
		<tr >
			<th width="200">收款方名称:</th>
			<td><input class="input-text" type="text" name="sy_alipayname" id="sy_alipayname" value="{yun:}$alipaydata.sy_alipayname{/yun}" size="40" maxlength="255"/> <span class="admin_web_tip">如：公司名称、网站名称、收款人姓名等</span> </td>
		</tr>
	
		<tr class="admin_table_trbg">
			<th>&nbsp;</th>
                <td align="left"><input class="admin_button" id="pay_config" type="submit" name="pay_config" value="&nbsp; 修 改 &nbsp;"  />&nbsp;&nbsp;<input class="admin_button" type="reset" name="reset" value="&nbsp; 重 置 &nbsp;" /></td>
		</tr>
	</table>
	</form>
</div>
</div>
</div>
<script type="text/javascript">
  layui.use(['form'], function(){
    var form = layui.form
    ,$ = layui.$;  
  }); 
</script>
</body>
</html>